import request from '@/utils/request'

// 新增医院
export function addHospital(params) {
  return request({
    url: '/dic/addHospital',
    method: 'post',
    params
  })
}

// 编辑医院
export function updateHospital(params) {
  return request({
    url: '/dic/upHospital',
    method: 'post',
    params
  })
}

// 删除医院
export function removeHospital(params) {
  return request({
    url: '/dic/delHospital',
    method: 'post',
    params
  })
}

// 获取医院状态
export function getHospitalStatus(params) {
  return request({
    url: '/dic/getHospitalStatus',
    method: 'get',
    params
  })
}

// 获取医院类型
export function getHospitalTypes(params) {
  return request({
    url: '/dic/getHospitalHcoType',
    method: 'get',
    params
  })
}
